package com.coderman.common.model.business;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "biz_product")
public class Product implements Serializable {

	private static final long serialVersionUID = 6888118422686624064L;

	@Id
	private Long id;

	private String pNum;

	private String name;

	private String model;

	private String unit;

	private String remark;

	private Integer sort;

	private Date createTime;

	private Date modifiedTime;

	private Long oneCategoryId;

	private Long twoCategoryId;

	private Long threeCategoryId;

	private String imageUrl;

	private Integer status;

}
